﻿using System;

namespace NFox.Pycad
{
    public interface IDocument
    {

        dynamic Content { get; }

        void Close();

        string Title { get; set; }

    }

    public class ModuleEventArgs : EventArgs
    {
        public string Name { get; }
        public ModuleEventArgs(string name)
        {
            Name = name;
        }
    }

    public class ModuleItemsEventArgs : ModuleEventArgs
    {

        public Module Item { get; }

        public ModuleItemsEventArgs(string name, Module item): base(name)
        {
            Item = item;
        }
    }


}
